
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #ECF0F1; 
    color: #2C3E50; 
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


header {
    background-color: #f3ebeb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.headerMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.logo {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-top: 2%;
}

.logo img {
    width: 50px; 
    height: 50px;
    object-fit: cover; 
    border-radius: 8px; 
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #0078ff;
}
.hero {
    background: url('../Fotoğraflar/1. ev.jpg ') no-repeat center center/cover; 
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
}

.hero button {
    background: #E67E22; 
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
}

.properties {
    background: #f9f9f9;
    padding: 50px 20px;
}

.properties h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2C3E50;
    font-size: 24px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.property-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
}

.property-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.property-card h3 {
    font-size: 18px;
    color: #3498DB;
    margin-bottom: 10px;
}

.property-card p {
    font-size: 16px;
    color: #E67E22;
    font-weight: bold;
}

.property-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.property-images img {
    width: 50px; 
    height: 50px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.property-images img:hover {
    transform: scale(1.1); 
}

.property-gallery {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    flex-shrink: 0;
}

button.prev1, button.next1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100;
}

button.prev1 {
    left: 10px;
}

button.next1 {
    right: 10px;
}

button.prev1:hover, button.next1:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

footer {
    background: #f3ebeb;
    color: #000000;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}


.property-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 16px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.property-card img{
 max-height: 140px !important;
}

.property-card:hover {
    transform: translateY(-5px);
}

/* Modal Arkaplanı */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

/* Modal İçerik */
.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 60%;
    max-width: 700px;
    background: #fff;
    border-radius: 8px;
    text-align: end;
}

/* Slider */
.slider2 {
    position: relative;
}

.slider2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Slider Butonları */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.close {
    justify-content: end;
    align-items: end;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: #e71414;
    cursor: pointer;
}
